Piwik\Segment D

Total Complexity 126
Dependencies 18
Dependents 33
Total lines 566
Lines of code 358
Logical lines of code 243
Comment lines 170
Methods 24
Properties 8

Methods 24

Method Rating Maintainability Complexity Lines of code
getCleanedExpression()
B
35 22 74
mergeSubqueryExpressionsInExpr()
A
49 11 28
__construct()
A
48 10 34
getStoredSegmentName()
A
55 11 17
containsCondition()
A
73 11 3
getSelectQuery()
A
53 9 22
doesSegmentNeedSubquery()
S
61 6 11
getSegmentHash()
S
51 5 26
getExpressionsWithUnionsResolved()
S
56 5 19
isVisitSegment()
S
58 5 16
getAvailableSegments()
S
56 5 16
initializeSegment()
S
54 3 23
willBeArchived()
S
68 4 7
combine()
S
65 4 9
getSegmentByName()
S
63 3 10
getInvertedOperatorForSubQuery()
S
65 3 10
getHash()
S
72 2 6
mergeSubqueryExpressionsInTree()
S
68 1 7
getOriginalString()
S
82 1 3
getString()
S
82 1 3
__toString()
S
80 1 3
getSegmentExpression()
S
82 1 3
isEmpty()
S
81 1 3
escapeSegmentValue()
S
71 1 5